﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="knowledge.aspx.cs" Inherits="knowledge" %>
<%@ Register TagPrefix="common" TagName="header" Src="~/header.ascx" %>
<%@ Register TagPrefix="common" TagName="footer" Src="~/footer.ascx" %>
<%@ Register TagPrefix="common" TagName="sidebar" Src="~/sidebar.ascx" %>
<%@ Register TagPrefix="common" TagName="secondcontact" Src="~/secondpagecontact.ascx" %>
<%@ Import Namespace="System.Data" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>科普知识 - 超敏仪器</title>
        <link href="assets/css/global.css" rel="stylesheet" />
    <script type="text/javascript" src="/assets/javascript/jquery-1.5.1.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <common:header ID="Header1" runat="server"></common:header>
        <div class="commonWrap">
            <a href ="#" class="subBanner">
                <img src="/assets/images/sub-banner.jpg" />
            </a>
            <div class="subSideBar">
                <common:sidebar ID="sidebar" runat="server"></common:sidebar>
                <common:secondcontact ID="secondcontact" runat="server"></common:secondcontact>
            </div>
            <div class="subContent">
                <div class="pathleaf">
                    <span style="background:url('/assets/images/place.jpg') no-repeat 14px 8px; width:35px; height:39px; display:inline-block;float:left;"></span>
                    <a href="/">首页</a> &gt; <a href="service.aspx">科普知识</a>
                </div>
                <div class="acticlelist">
                    <ul>
                        <% foreach( DataRow dr in dt.Rows ){ %>
                        <li><a href="/knowledge_detail.aspx?id=<%=dr["id"].ToString().Trim() %>"><%=dr["subject"].ToString().Trim() %></a><span class="box_r"><%=((DateTime)dr["eventdate"]).ToString("yyyy-MM-dd") %></span></li>
                        <% } %>
                    </ul>
                    

                </div>
            </div>

    </div>
        <common:footer ID="Footer1" runat="server"></common:footer>
    </form>
</body>
</html>
